﻿using System.Threading.Tasks;
using Abp.Application.Services.Dto;
using pandx.Mulan.Dto;
using pandx.Mulan.Form.FormSchemes.Dto;

namespace pandx.Mulan.Form.FormSchemes
{
    public interface IFormSchemeAppService
    {
        Task<PagedResultDto<FormSchemeListDto>> ObtainFormSchemes(ObtainFormSchemesInput input);
        Task CreateOrUpdateFormScheme(CreateOrUpdateFormSchemeInput input);
        Task<GetFormSchemeForEditOutput> GetFormSchemeForEdit(NullableIdDto<long> input);
        Task<FormSchemeListDto> GetFormScheme(EntityDto<long> input);
        Task DeleteFormScheme(EntityDto<long> input);
        Task<FileDto> ObtainFormSchemesToExcel(ObtainFormSchemesInput input);
    }
}
